We have the same problem. This line used to work fine:
xcrun altool --notarize-app --primary-bundle-id "????" --username "????" --password "????" --file "????"
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: